package com.house.smallbug.house;

import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.house.smallbug.R;
import com.house.smallbug.people.PeopleAdapter;

/**
 * Created by 17712 on 2017/11/27.
 */

public class HouseAdapter extends RecyclerView.Adapter<HouseAdapter.ViewHolder>{
    @Override
    public HouseAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view= LayoutInflater.from(parent.getContext()).inflate(R.layout.item_house,parent,false);
        return new ViewHolder(view);
    }

    @Override
    public void onBindViewHolder(HouseAdapter.ViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 20;
    }

    class ViewHolder extends RecyclerView.ViewHolder{

        public ViewHolder(View itemView) {
            super(itemView);
        }
    }
}
